package org.spolo.android.topic;

import org.spolo.android.bean.GestureType;
import org.spolo.android.util.McMove;
import org.spolo.android.util.McStop;
import org.spolo.android.util.MovieClip;

/*
 *	author:wxd 
 *	360 展示
 */
public class ShowTopic extends BaseTopic {
	
	@Override
	protected void init() {
		MovieClip mc = new MovieClip(getBitmaps("camera01"));
		mc.x = 0;
		mc.y = 38;
		mc.screenSize(1024, 644);
		addMc(mc);
	}
	

	@Override
	protected void addMc(MovieClip mc) {
		mc.loop = true;
		mc.GetEventQueue().addListener(GestureType.onClick, new McStop());
		mc.GetEventQueue().addListener(GestureType.onMove_left, new McMove());
		super.addMc(mc);
	}
	
}
